package com.game.log.dblog;

import com.log.annotation.LogCollection;
import com.log.template.LogCollectionType;
import com.log.template.BaseLogBean;
import com.log.template.LocalLoggerType;

import lombok.Getter;
import lombok.Setter;

/**
 * 数据库日志记录,通过注解会自动记录本地日志
 * @author ZGame
 *
 */
@Getter
@Setter
@LogCollection(collectionType = LogCollectionType.Month, localLogger = LocalLoggerType.registLog)
public class RegistLog extends BaseLogBean {

	private String ip;

	public RegistLog(String userId, String ip) {
		super(userId);
		this.ip = ip;
	}

}
